package demo07.remote.object;

public class GarageDoor {
	String location;

	public GarageDoor(String location) {
		this.location = location;
	}

	public void up() {
		System.out.println(location + " 车库门开了");
	}

	public void down() {
		System.out.println(location + " 车库门关了");
	}

	public void stop() {
		System.out.println(location + " 车库门停止了");
	}

	public void lightOn() {
		System.out.println(location + " 车库灯开了");
	}

	public void lightOff() {
		System.out.println(location + " 车库灯关了");
	}

}
